projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6ce90
)
[XEN] Fix assert in typed p2m code
author
Tim Deegan
<Tim.Deegan@xensource.com>
Wed, 12 Sep 2007 08:58:16 +0000
(09:58 +0100)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Wed, 12 Sep 2007 08:58:16 +0000
(09:58 +0100)
as spotted by GCC-4's enthusiastic warnings.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/include/asm-x86/p2m.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/p2m.h
b/xen/include/asm-x86/p2m.h
index 0febce28f403f0ae42e6ab79b33384855dd1cbcc..ff00bbd4faac84f965428093023ab82f41435923 100644
(file)
--- a/
xen/include/asm-x86/p2m.h
+++ b/
xen/include/asm-x86/p2m.h
@@
-119,7
+119,7
@@
static inline mfn_t gfn_to_mfn_current(unsigned long gfn, p2m_type_t *t)
if ( ret == 0 ) {
p2mt = p2m_flags_to_type(l1e_get_flags(l1e));
- ASSERT(l1e_get_pfn(l1e) != INVALID_MFN || !p2m_is_ram(
*
t));
+ ASSERT(l1e_get_pfn(l1e) != INVALID_MFN || !p2m_is_ram(
p2m
t));
if ( p2m_is_valid(p2mt) )
mfn = _mfn(l1e_get_pfn(l1e));
else